package com.jilefojing.beans.data.manager.response;

import java.util.List;

import com.jilefojing.beans.data.response.base.BaseData;

public class DCategoryData extends BaseData {
	private long id;
	private String text;
	private List<DCategoryData> children;
	private Attribute attribute;

	private DCategoryData parent;
	private String entity;
	private String createTime;
	private String updateTime;
	private UserData createUser;
	private short itemTypeCode;
	private String itemTypeMsg;
	private double sort;
	private String ckey;

	private boolean checked;
	private String state;
	private boolean selected;
	private Long _parentId;// 定义父id

	public enum State {

	}

	public static class Attribute {
		private String ckey;

		public String getCkey() {
			return ckey;
		}

		public void setCkey(String ckey) {
			this.ckey = ckey;
		}

	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public List<DCategoryData> getChildren() {
		return children;
	}

	public void setChildren(List<DCategoryData> children) {
		this.children = children;
	}

	public Attribute getAttribute() {
		return attribute;
	}

	public void setAttribute(Attribute attribute) {
		this.attribute = attribute;
	}

	public boolean isSelected() {
		return selected;
	}

	public void setSelected(boolean selected) {
		this.selected = selected;
	}

	public DCategoryData getParent() {
		return parent;
	}

	public void setParent(DCategoryData parent) {
		this.parent = parent;
	}

	public String getEntity() {
		return entity;
	}

	public void setEntity(String entity) {
		this.entity = entity;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public UserData getCreateUser() {
		return createUser;
	}

	public void setCreateUser(UserData createUser) {
		this.createUser = createUser;
	}

	public double getSort() {
		return sort;
	}

	public void setSort(double sort) {
		this.sort = sort;
	}

	public String getCkey() {
		return ckey;
	}

	public void setCkey(String ckey) {
		this.ckey = ckey;
	}

	public short getItemTypeCode() {
		return itemTypeCode;
	}

	public void setItemTypeCode(short itemTypeCode) {
		this.itemTypeCode = itemTypeCode;
	}

	public String getItemTypeMsg() {
		return itemTypeMsg;
	}

	public void setItemTypeMsg(String itemTypeMsg) {
		this.itemTypeMsg = itemTypeMsg;
	}

	public Long get_parentId() {
		return _parentId;
	}

	public void set_parentId(Long _parentId) {
		this._parentId = _parentId;
	}

}
